# Makefile for building tgz file
SYSTEM:=
CHECKS:=
VERSION:=1.0

all: package

.PHONY: package
package: $(CHECKS)
	mvn -Dmaven.test.skip=true package
	tar -zcvf TestNgAPITest-$(VERSION).tgz -C target TestNgAPITest-${VERSION}-SNAPSHOT-jar-with-dependencies.jar conf configEnv log4j.properties xml

.PHONY: clean
clean:
	mvn -Dmaven.test.skip=true clean
	rm -f TestNgAPITest-$(VERSION).tgz
